package com.task.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.task.common.entity.sys.SysUser;
import com.task.common.entity.sys.model.user.UserBase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Huzz
 * @since 2021-10-11
 */
@Mapper
public interface UserMapper extends BaseMapper<SysUser> {

    /**
     * 查询用户基本信息
     *
     * @param userWp
     */
    List<UserBase> selectUserBaseList(@Param(Constants.WRAPPER) QueryWrapper<SysUser> userWp);
}
